﻿using System;
using System.Drawing;

namespace AIthin.Model
{
    /// <summary>
    /// Klass darstellt Umgebung
    /// </summary>
    public partial class Reality
    {
        /// <summary>
        /// Anzahl von den Lernsets
        /// </summary>
        public int SetsNumber = 0;
        public Random RandomValue = new Random();
        /// <summary>
        /// Darstelungstiefe 16...64 viefiel Punkten pro Seite wird dargestellt.
        /// </summary>
        public int Hight;
        public int Width;

        /// <summary>
        /// Konstruktor für Reality
        /// </summary>
        public Reality(int hight, int width)
        {
            Hight = hight;
            Width = width;
        }
        /// <summary>
        /// Zeichnet alle Elemente.
        /// </summary>
        /// <param name="g">GDI+ Zeichnungsoberfläche</param>
        public virtual void Draw(Graphics g)
        {
        }

        public virtual void Draw(ref short[,] field)
        {
        }

        public virtual void DrawSet(Graphics g, int Set)
        {
        }

        public virtual void ShootBall()
        {
        }
        /// <summary>
        /// Aufnimmt für Schläger die Bewegungen von dem Maus
        /// </summary>
        /// <param name="e"> Mouse Even Arguments</param>
        public void Influense(System.Windows.Forms.MouseEventArgs e)
        {
 
        }
        /// <summary>
        /// Modelliert bewegung
        /// </summary>
        public virtual bool Moving()
        {
            return false;
        }
        public virtual int GetBallPositionX()
        {
            return 0;
        }
        public virtual int GetBallPositionY()
        {
            return 0;
        }
    }

}
